creates a non-directed graph between locations