use sequences for nth

I have taken a shot at updating nth to use sequences. I have also updated clojure:if to return #f instead of null per qerub's suggestion.