Programming Assignment 2 another try