Began working on the second function of Lab 10