A basic java snake game