Partial implementation of the Blur algorithm which compiles in Haskell but does not work with the C compiler