randomized test generator for CSE431s lab2, Spring 2014