Updated Homework 11 Program