Fiddled with Prime.hs so that it accepts any Integral argument (via liberal use of fromIntegral).
Sped up 250.hs by using the periodicity of x^x (mod n).