Fixed problem when there was an existing graph
Made relationships store weight and increment when the relationship between two words already exists