Add supermemo algorithm

Final newline missing.