Typing game / C++