updated flashcards.rb