kinda working detectSingleXOR
moved utils
updated detection code. Still not working