Add CRC-16 (CRC-CCITT) algorithm and test code in main.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>