Parallel sort contracts.

@bsoetaer 
Three of the files are just the contract framework from assignment 1.