introduction to the three types of loops
for loops and string member functions