Algorithm Assignment 7