Snake clone, written in Java, originally a class project