Added Python solution to problem 71