The example for xor erroneously prints out the results of andbitmap.