dleft.cpp, singh.cpp: fixed bug in allocating space in indices data structure, should be sized by number of insertions (as opposed to table size)