simple even or odd detector | ScratchStats