Detecting neighbours in all 8 directions