Go implementation of the sm2 (SuperMemo) algorithm