This commit adds the permutation functionality.
1. The functionality does not allow the repition.

Signed-off-by: Vasanth Raja <ch.vasanth.raja@gmail.com>