DBMS implementation for CS222 at UCI