Implementing a few basic concurrency control schemes in a simplified DBMS