checksum calculator prototype

maintenance to correct checksum calculator code.  added large number of
comments.