added strip()
added solution to problem 4