added ds and algorithm impl.