Added Field randomization code
Also changed Field.randomize(float) to Field.randomize(double) for
consistency with Math.random()