Added Python solution for Euler112.