Multithreading

Poorly working, but mutlithreading;) Need to remove colissions
on storing solutions.