removed std::endl in symbol ostream operator<< ... -sai
removed dead code, changed starting index to -1, and removed debug printing code... -sai