E. Final Program with Comments