Added the funcionality of filtering the permutas and also showing the details of each permuta is done.