final code

this is the final code for peer assignment