updated Makefile to make in dir ds
pulled out code to factor the integer, then just took the largest in the list.
removed old code which was commented out
added header
added files
Edited file to reflect refactoring of 3 in prepration of 4