Code snippets from CS5060 Parallel Computing at UCCS with Prof. Rao