Create max_k_profit.cpp