Handle locations which are more than one word
Refactor printing
Refactored error handling
Output result to table
Added example