Added a new prototipe for the qPID without the last parameter and also changed the name for the parameter N to improve compatibility with some compilers
Added example usage source code very generic