Create MinCost.hpp