Add newSeqWith

I needed this a few times and think it would be useful, so maybe it should be in the standard library. Maybe `sequtils` would be a better place, I'm not sure.