added ds and algorithm impl.
Merge remote-tracking branch 'origin/master'