Fixed a much better datastructure and methods to
return nextTo and apartFrom.