Simple snake java applet game