Simple integer shifting calculator with bitwise operations.