Added flatten function
Modified compare function to include properties with different values
Example creating two objects which then use the abst_obj, flatten, and compare functions