Factorial with 64-bit integers

- Jan-Erik Rediger

I rewrote the factorial example to use 64-bit integers and do the formatting in Rust (and thus WebAssembly), so larger values are displayed correctly.

Factorial example

(This also adds proper deallocation of the formatted strings)