My final project for c++