Implement `Call a foreign-language function`.

I don't feel like making an account to rosettacode itself, so I haven't added this there.