A program to calculate a matrix sum i parallel using the pthread library