adding bitwise math to the mix. also fixing the literals to print in hexadecimal
mode