Added final comments & pseudocode