comment out irrelevant code from the book, make code to set X at an available spot on board