Fix problems with spacing and quotes

Minor fixes with spacing and quotes so examples match expected output and run correctly.