Starting the solver in a new thread. enables us to dynamically adjust the speed and leaves the main gui window responsive during drawing the labyrinth