started on the first problem
started on the string manipulation