hof: remove extern

Crate ‘num’ is not required to compile but breaks ‘Run’ button on
website
No more Vec::get() method in rust
Merge pull request #262 from vbuslov/master

hof: remove extern
Merge pull request #263 from AOrazaev/master

Fix example for vectors.
Compiles correctly