invertMap that maps 0 to 0, 1 to 1, 6 to 9, 8 to 8, and 9 to 6.n to a string str_n.rotatedNumber.digit in str_n.
a. If digit is not in invertMap, return false.
b. Append invertMap[digit] to rotatedNumber.rotatedNumber.rotatedNumber with str_n.
a. If they are equal, return false.
b. Otherwise, return true.