Created New threads for the game loop and checking for input 
Added a PlayerExcpetion class