maze's end enters the battlefield tapped.
t: add 1 to your mana pool.
3, t, return maze's end to its owner's hand: search your library for a gate card, put it onto the battlefield, then shuffle your library. if you control ten or more gates with different names, you win the game.