USACO 2012 November Contest, Gold - btree