layout changed, functions added

Now, the program can convert IP to Geolocation. Layout changed a little.