Number Systems and Digital Logic Gates