Added solutions to problem 87 in python and haskell.