Adding solution to problem 15
Updating javadoc for problem 15