Final project for CS166 (Databases)