Removed hard-coded dependencies on 9x9 board size