Added functionality in build mode to define target stone. Now it is
possible fully define problems and export them to file.