Update cpp2048.cpp

fix bug