Followed http://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_Hours/Parsing to create a  parser that can parse an atom, string or digit.