Implemented Von Neumann neighbourhood