"Snake" game, coded in Java