This is a method i wrote that checks if two strings are premutations of each other:
public static boolean permutation(String str1, String str2) { boolean termina