how does the world cup work