Pull out functions into util.myr

    They're utility functions. hence util.myr