Adding java file for students