Fixed a bug in setCell and changed a name of a local function in setCell. test 11 now passes.