Assignment 2 - Algorithms