Adding programs written for final exam this morning.