testing project to create a classic snake game in java