QUBO++: A C++ Library for Solving QUBO and HUBO problems