assignment 2 written but not tested
assignment 2 complete and tested