My solution for Name Surfer