Begining out some graph theory stuff