Finished up with my quesiton 4 code.