Add expr test

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
Add sexpr test

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
Add max_shared: function for computing maximally shared expressions.