Added Algorithms HW 3