Add new main function

Added a function to take an sgml file with tags and print the tags
out in list form to a file entitled 'parsed.txt'.