Initial entry of my code for prog assignment 2.