a small simulate of 2048 in c