Create pthread.hpp

added file with classes `pthread', `pmutex', and few function helppers.