added reservoir sampling and fisher-yate's algo