Add a take_nth function

This is analogous to Clojure's `take-nth`. Thought you might be interested.