fixed memory error with edges
fixed problem with edge memory and topological sort
Merge branch 'master' of https://github.com/millew2/Reggie
fixed merge problems (previously fixed memory problems)