Added the posibility to declare functions and now the values of the variables are declared correctly