Added Code Generation for functions with arguments