clicking on a box now changes the class and color of the box.