added p07.fs
changed clj, py, and hs versions of p07 to us same algo as in fs vers