Thanks for your answer.
There's no information about how to compute haplotypes blocks on the HapMap tutorial page, it's a tutorial about how to use the web interface of the HapMap querier.
I understood what you told me and I started my development on that, now I "parse" [?]this[?] on [?]this other thing[?].
I still have no idea about how to do the math to get the LOD, R2, D' for example.