First pass of Bytelandian - algorithm is fast but not sure why