My first C++ app to solve bus seat problem