Calculate 16-bit CRC
v = crc.crc16(txt)
Calculates a CRC-16 value of txt.
txt
e.g. v = crc.crc16('Hello world') --> v=17809
v = crc.crc16('Hello world') --> v=17809