Implemented string indexing (read and write)