Address compiler warnings; ed README/makefile.

Ref:
	makefile
		-reorganize specific make targets
Fix:
	src/*
		-fix compiler warnings
			-include necessary headers to prevent implicit declaration
			-#pragma once to prevent recursive includes
			-check return values of fgets() and system()
			-pass format strings to printf()