Update: Updated test cases to include all potential failures and successes. Pushed permutations and rotate methods into UtilityFunctions