Python rewrite of lpcrc tool (LPC13xx checksum calculator)