Changed board to a dynamic array to fulfill a requirement