Fixed Crc Endianness, added checkCrcFunction

Crc endianess was backwards, that got fixed.
Packet Checking function was added.