Added similar solution filtering
Filtering similar solutions (similarity defined by sequence of used exits)