examples: add LCM example