Completed program that will create database file