Some Java Exercises I have worked on