iOS-tut Assn4: readjusts grid when enough cards are matched