The love letter mystery
Naive implementation of sam_and_substrings
Improved version of sam_and_substrings2
[fixup] sam_and_substrings2 the sum can overflow, :(.
GCD Product.
fix overflow of gcd product.