touched up a few typos and added commandline for the examples