Add out of bounds checks to string and vector. Add character return type functions.