Pushed simple library manager in C++ (school assignment)