Compare : add compare feature

Signed-off-by: Jean-François Erdelyi <jean-francois.erdelyi@univ-tlse3.fr>