Added few lines explaining the algorithms.