reads tables from pdfs and makes flashcards