working flashcard deck
cleaned up code