Update Gattis_Chapter5_Problem2