Changes to indexselect.cpp; removing unwanted couts in select.cpp