changed while loop to unless loop to accomodate exit method in rolodex.rb