Parallel computation foundation's assignment 1. This is my first time using thread partitioning.Read less