Create SnakeFunctions.java