Added find visible neighbour function

This function is incomplete, I have commented what needs to be done.