Return the (B, T) boolean array that is True at position [i, j]
exactly when j < lengths[i]:
lengths is a 1-D integer array of B sequence lengthsT is the maximum lengthInput
lengths = [1 3 2]
T = 4
Output
[[ True False False False]
[ True True True False]
[ True True False False]]