To compile, just type "make".
See the highly primitive "Makefile" for details.
Then run p1, p2, p3, or p4, as need be.