Adding list comparison function to list module.