Hi Paul.
Thanks for reply, but unfortunately it doesn't solve the problem.
As the 'boxes' are hexagonal there are numerous connections to get from one side of the grid to the other (see modification to your book attached).
This is where the headache begins!
Best Regards
Paul Ked
PS. I have set up two arrays which are only ones and zeros, one array for team A (L to R) and the other for team B (T to B).