Started Main Code block and added the Procedure Function.