make tests pass again
optimize linear-array-index
that was a nice exercise, now let's do something actually useful