added jobs calculation

i added the jobs calculation
but i dont really understand the syntax of sending the jobs and
receiving the answers from the threads.