Coding assigments for parallel algorithms