how to memorize theorems fast