refactored cilk into it's own file, refactored stuff because cilk can't
into C99