a few small short cpp scripts with a simple makefile