Programming Assignment 2_try 1