Small refactors.
Simplifies console handler.
Extract method is_neighbour?/2.