added logic and css to highlight winning subsquares