Assignment_2 parts 1 and 2 code files

Part 1 code: solves the problems but does not print correctly to output
file yet
Part 2 code: Solves feature counting