fixed both contract and expand functions

contract happens on clicking "background", expand happens on clicking "colored" squares
slightly modified behavior of "combine" function

now it resets the current "level" that was clicked just for that square.  Cilcking the background of the 0th level resets the whole thing.