Find kth binary string of length l. Question included as comment.