Completed Testing and Implementation

-Still memory leak in selection method
-But this will have to do