Graph data structures 3rd commit.

- Add isTree, isBipartite, isComplete check
- Edge weight is now moved when rotate
- Fix minor bugs
- Finish populating the tables