Completed conversion of Map to Q/R co-ordinates
- implemented new test for valid cells
- improved the neighbours generation algorithm