Algorithms project assignment