Create parse.hs

Originally written for Gromov