Project 3

Still have a seg fault error due to iterating a char* str when it's a
string.