Parallel Processing Hackerrank Solution In C