corrected adding of new edge
problem 2-1 completed
corrected childrenOf, added getEdgeWeights
added DFS and DFSSortest, which don't really work yet
problem 3 completed