all the code are present here whatever given in the assignment.!!