if you're new I suggest you look up some free to play decks.
I got a legendary the other day ;]
im gonna kill myself
mmm, it doesn't really match up against skill.
if you're doing unranked battles then it's a complete free-for-all. if you're doing ranked then it will mostly try to pair you with someone of a rank close to yours.
the only really 'equal' matchups you'll get as a beginner are in arena, and even then it's a bit skewed since some classes are great in arena and others are awful (ie: mage great, priest awful)
i've actually gotten 4 legendaries this week grinding arena, it's insane. two of them are freaking awful though