Introduced resample(iter::Int)
Update readme to use resample(iter::Int)