Lonely Planet - Updated code for the techinical test

Updated the code for the test as requested. Please review when you can. Ta.