Although I am not in this class I was helping a friend with homework and I decided to do the assignment. This is what I came up with