Added bounded version of Haskell task 8