Course era algorithms assignment