fn two_by_two_permutations(a: [u8; 4]) -> [usize; 8]
Generate an array of the 8 possible transformations possible from rotating and flipping the 2x2 input.