added function for fixing adjacent sectors

Added in the function sectoradjacent which simply ensures all sectors
for the given faction have the correct adjacent values