Didn't mean to keep the -g
Remove std::min/<algorithms>
Remove dependence on std::getline