Certain comments + Multi variable declaration

Added /// comments to CBN functions. 

Changed the Statement class to have multiple defined variables

Added extra checks for output ports and variable redeclaration error.