Working scan, inclusive and exclusive on integers. Floats need a fix or two.