REmoved unneccessary files and added new implementation for Graph.