DSA assignment 1