Changed return for [] operator
Modified test of operator [] in test_main.cpp
Corrected [] operator: there was a reference to local variable returned
Removed warnings in string.h and .cpp. (size_t must be printed w/ %ld)