Started writing the C++ wrapper
Fixed a logic issue in fq_init()
Added an enum for the pthread_mutex initialization errors