mandatoryArgurmentError Verification implemented.

mandatoryArguentError implemented to all functions and number of blank lines on the start of the code reduced to one