Added flashcard example code