algorithms and collections lab 1