partial completion for CS106a Namesurfer assignment.