replace Hashmap w/ Vertex and Edge class on LSP