Logical XOR operand functions for *syschk(long s)
Changed (int s)->(long s) for bigger numbers for XORing
Also added checker for casting(if needed)