flow chart for assignment 5 design