adding source for some ds algo