They don't teach you to use the Internet at this fancy Swedish school of yours?
Seriously, I think that is a nontrivial project.
I would find a WiFi chip, look at its datasheet, and see how to set up a circuit for it.
Maybe this one as an example:
http://www.ti.com/general/docs/lit/getliterature.tsp?genericPartNumber=cc3000&fileType=pdf
Best of luck.