Fixed reformat bug, added table generation to Permutations
Updated to Java 7 standards
Added an example of usage