proj1: made 1-indexed sets easier
proj1: fixed assignment 4