refactored markDivs function
refactored out colorSquares function and renamed markDivs function called drawChessBoard instead