Moved adjancency code to 2opt class.