Changed Graph representation, implemented getDistance(), fixed bugs in enoughSolutionsChecked() and generateNeighbourhood()