working on hmwk 1A