Added problem 13 Java