fixed assertions, finished setRow and setCol