Bitwise Operations and Shifts

Writes two integers in binary and combines them digit by digit with AND, OR and XOR. It also shifts a left and right by the given amount: one place left doubles the value, one place right halves it and drops the remainder.