Python's modulo function already does the expected

- unlike Java's module

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Use 32-bit integers, for compatibility

Signed-off-by: Stefan Marr <git@stefan-marr.de>