Solved 250, using unboxed mutable arrays.
Cleaned up 250.hs. Roughly the same speed.