Added sample sample10 containing magnitude operators examples.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>