Added Problem3 and Problem7.
  The prime algorithm is taken from the Haskell website