add flashcards.erb with iteration in middle.