Added a pub-sub naive example. Updated tutorial
Added proper sync between publisher and subscribers