added toposort into graphtype.h and remove old dfs bfs algorithms.
rename graphtype.h to graphic.h