Algorithms Project 1