add greater/lesser and equal function for lists and integers
fix merge