Chagned interpreter::doesHave() overload to utilize std::vector
Added flush function