intitial state of squares set to {hidden: true}, changes to {hidden: false} on click