added problems 11 and 12 from Haskell-99-Problems