Finished Part 2a code and answers.txt