rename main.hs to Main.hs
fix warnings: add top level type signatures
remove unnecessary find import and fix shadowed variables