Advanced Algorithms Assignment