This function is used in debug mode to print the current status of the index. I also created a print_keys() function to only list the keys. Signed-off-by: Anna Schumaker <schumaker.anna@gmail.com>