added image generation to tsp_simulator