Mathematics of Alice's Adventures in Wonderland