Made indices (max & min) signed ints and added a < 0 check
Fixed c-array and tests
Fixed backward search and tests
Fixed bwt_to_s and tests
Fixed tests