Created a weighted edge list implementation of HW6s Graph class