a few debugging parts...  simple debug / checksum routines.

	new file:   sim_checks.h
	new file:   sim_fletcher.c