hof: Removed unnecessary "if" in is_odd() definition.
hof: remove extern

Crate ‘num’ is not required to compile but breaks ‘Run’ button on
website
No more Vec::get() method in rust