Completed Problem1 and Problem2

Uploading Problem.java Template and Problem1 and Problem2 solutions in
java, including .class files