Project 1 for Algorithms course