Some remarks on Tamara's C++ hw3 solution