Implement external function call

- Implement external function call
- Add memory example