added func to cpp
Merge branch 'master' of https://github.com/djfrost/Lab03ForBoshart