Created module Factors.hs
- re-wrote solutions 12 and 21 to use new module