added option to generate solution file which runs in the speed of light