fix canvas
p can take any value, 0<=p<=1.
alg/ga0 ; create first generation.
ga0 -- now working