Bit rotation project for uni.
Functionality: Enter a number to rotate and the amount of bits to rotate it by. If amount of bits is smaller than 0, it will be rotated by that amount to the right. Otherwise, it will be rotated to the left. This program assumes legal input.