A Java implementation of Snake