randomized generation of initial solution