Parallel Programming in P