add tokumaru's tile decompression code
update license in case someone who takes things too seriously looks at this
add io and math code
missed header change