Added solution to Euler's 24th problem