Added gif to explain algorithm in the documentation.