making my own string class