created SwitchState class to represent state of keys/buttons
created the Mouse class to keep track of the mouse's state