fixed myxor. added UT. fun, but previously stolen xor function was incorrect..
Never ever trust people! Spent several days for the homework, due this.