Created a new method to scan board and add all cells into an array.
Added scan() function to return an array of all the cell objects in the board