Constructing a permutation matrix

Great implementation! Concise, sweet, and readable!!!