Snake with Cpp