Added 'Compare' method.
Replaced list compare code.