Update solution.hpp