24 point game written in C++