wifi shield programming

well.. sorry, i should write in english..

but i don't really know where i have to put the wifi folder: i've try different ways ..

is this tree folder example correct ?

Arduino/
Wifi (folder wifi from arduino website)
alterwifi.ino (my code)

or should i do
Arduino/
libraries/
Wifi (folder wifi from arduino website)
alterwifi.ino (my code)

alterwifi.ino (my code)