Introduced functioning indexing
Fixed external indexing, improvements on the creation of the graph