added solution to problem 6
added solution to problem 7
solution to problem 8
set the string length back to 5