added crc code
updated crc code
updated cksum