Added solution to problem 62

This will have to be adjusted as per comments in source to speed it up