A simple well commented little snake game in java