Created Common.hs for common functions

The new methodology needs ghci to be run from FunctionalProgramming.
It's not the biggest deal, but there's probably a better way to do it.