Text this: Generating mutually unbiased bases and discrete Wigner functions for three-qubit system