My Finished Programming Assignment 2