finalized, written for intro java at stanford

main component of larger namesurfer program