FINAL SUBMISSION FOR ASSIGNMENT 2