Vote counting - pthreads & ipc message project for school