completed intro to collections through rectangle data structure manipulation