Block interview question

Implement URL shortening methods - shorten(), expand()