Added multithreading class to 2048 Solver