Add N Queens problem multi-threaded