added modulo support for bools
changed behavior of modulo so it actually matches what python does