Programming assignment for flow 3