Added wifi setup function

Wifi setup function to connect Pi to wifi