Added input class

removed quick key code from game.cc to evaluate whether escape was
pressed. Added an input class to handle all inputs of the keyboard.