improved diferenciation between function declarations and definitions
corrected types of variables in parameter list
implemented return statement
cleaned function definitions and their parameters
corrected order of functions and parameters generated output of new test cases