Constraint class is implemented with Cloneable interface and added a
static hashmap to store the constraint lists (one or more) and bounds in
each method or function.