Error: duplicate function definition for butThisIsAnError: function with parameters double returning double with body CompoundStmt