Return dictionary words matching a prefix | Google Coding Question