Basic string exercises by google. Solved.