added a rowChecker function to check the board for horizontal wins