A basic snake game implemented in Java