Implement a dictionary without built-in Dictionary | Snapchat Interview Question