Update day10.md

Automatic code generation