added checksum class stub
implement checksum algorithm (stolen from my F# code)