A Hierarchical Nearest Neighbour Approach to Contextual Bandits