merged bwtmisc.c to bwtindex.c

bwtmisc.c implements routines related to indexing