generating a image using genetic algorithms