fixed rather serious bug in `take' that caused it to return nil if you
tried to take more than the length of the sequence