Finished 6.5 exercises 1 through 3