Checking for 'check' works and moves are correct but highlighted squares are not.#