Programming assignement 3