Coding challenge attempt for Localytics interview