Added solution to Euler's 12th problem