Assignment 1.2 - Defines and fixed input

os_input fixed and useful defines for bit masks added