Create hpscode.cc

Parallel implemention