added function declarations
makefile changes
added bipartite check algo
minor changes
added graph init