Removed unnecessary permutation function
Added usage instruction