Some random additions with different interface

Hi Rezoo,

I was looking for a belief propagation implementation with boost graph interface. I found your repository which was inspiring. I wrote my own implementation of sumproduct algorithm which we should merge sometime with your implementation.

Thanks,
Vikas