A simple 3x3 WordBrain solver in c++