did program 4, Strings

This is super inefficient code I'm sure.  C++ strings are confusing...
updated?