Added adjacency matrix

Lots of changes due to restructuring of project
Fixed project structure