Assignment 2 completed perfectly working