latex algorithm2e function call