parallel programming homework