Added % function

Added % function to calculator.lua. The example project does not have a
button for this, yet.