Added multithreading + display of a solution (if better)