tweaked readme and saved as .md so code renders nicely on github