Modified CS180 Lab02 to handle multiple names