initial submission commit

completion of programming assignment 2 for peer review