.java files written for my intro class