Converted state monad to fold

This commit will eliminate weird dependency issues with mtl and tf-monads
Merge branch 'master' of https://github.com/GregorySchwartz/modify-fasta