int bestScore() {
		alignmentScore = Integer.MIN_VALUE;
		int maxj = b.length, maxi = a.length;
		for (int i = 1; i <= a.length; i++) {
			if (alignmentScore < score[i][maxj]) {
				alignmentScore = score[i][maxj];
				besti = i;
				bestj = maxj;
			}
		}

		for (int j = 1; j <= b.length; j++) {
			if (alignmentScore < score[maxi][j]) {
				alignmentScore = score[maxi][j];
				bestj = j;
				besti = maxi;
			}
		}

		return alignmentScore;
	}