Added test for modulo function
Added implementation of modulo function