neighbours function
neighbours function extended test