Change example programs to use integers (randomly generated floats were
suffering stability correctness)