Added remaining  pseudocode

Remaining pseudocode added