A simple version of QQ, source code, for reference. Rar