Assignment 3 Complete with Database