Canonical parallel programming example