fixed flashcard.rb