AMPP - weired max
max=MAX3(diag,down,right);
if (max <= 0) {
h[i][j]=0;
xTraceback[i][j]=-1;
yTraceback[i][j]=-1;
// these values already -1
}
else if (max == diag) {
h[i][j]=diag;
xTraceback[i][j]=i-1;
yTraceback[i][j]=j-1;
}
else if (max == down) {
h[i][j]=down;0
xTraceback[i][j]=i-1;
yTraceback[i][j]=j;
}
else {
h[i][j]=right;
xTraceback[i][j]=i;
yTraceback[i][j]=j-1;
}