Create Problem62.java

Works for test case. Needs speed improvement.