Added get neighbor coords function