Algorithm Visualization based on OCaml