CLEAR interview question

implement database that handles getting/setting values with nested transactions