use builtin xor() instead of Bitwise.xor()
return abs() because RNG should return a positive number