Add snake C++