java snake for school