hw1 for data structures