An Assignment using PThreads to produce various mathmetical functions