algorithms demo version