a tiny mahjong implemented in C++.