implement challenge 12
fix a guess_xor_byte bug and cleanup warnings