added gitignore
added a method to parse a text file.