Ah, so it's a Japanese-language thing.Wario is a contraction of Mario and the Japanese 悪い (warui), which means bad or wrong. Likewise Luigi becomes Waluigi, which in Japanese would be pronounced more or less as Waruigi.
Not to be the "well, ackshually" guy, but M and L are mirrored while P is rotated.Also, if going by your scheme