A small snake game written in Java