Added variable, division and modulo

Created remainder variable and tried to division.  Changed division to
modulo and tested in browser.