moved locate_bit to bitarray.c so that the concrete data type wasnt needed in reverse.c
partially unrolled main reverse loop. 2^30 went from 2.5s to 1s
swapped reversal algorithm. faster by about 0.3s
fixed line with bit size in test. didnt really matter though