Solved Programming Assignment