Create mathtrick.pl

A simple math trick in perl.