Solved 6th problem using OCaml
Added a solution of a 7th problem