improved efficency of the graph by introducing hashmaps and rectified mistake by using equals in SVO extracter