Adding *.java files for professor and study functions