4 BIT basic logic