The "Prime Factors" code kata in Haskell (tested with Hspec).