Added solutions to problem 53 in haskell, python, and c.