Algorithm Assignment3