Added Python solution to problem 78