Done all required tasks (4-8) for Assignment 5