Python program for efficient memorization of text, particularly scripture passages