yet another snake game in java