Adding some key input code
Added projectiles