Added sample dataset
Updated  algorithm 3 and 6