fixed errors / changed debugDrawRect to take const ref instead of reg reg (forgot const there before I guess)
coded the unweighted shortest path  functionality + other misc stuff related to it