Adding java file (with errors) for students