Final Project Functions

More lines of code for functions.