Work on pseudo code.

Added Pseudo code for initialization.