Just learning how to make some basic tools in C++