Storing and printing strings