Homework 4 for my databases class