Homework stuff for cs450!