graph lab for data structures