Added 'getLoc' method in MainPage.xaml.cs

getLoc method uses the Geolocator class to retrieve the users current
coordinates