Added prime code...multithreaded version