boolean numberIsLegal (int row, int col, int num) {
		if (isLegalRow(row, col, num)&&isLegalCol(col, row, num)&&isLegalBox(row,col,num)) {
			return true;
		} else if (num == 0) {
			return true;
		} else {
			return false;
		}
	}