public List<Tuple> getTopMatches(NestedDictionaryStringStringDouble dict, Object person, int matches) {
List<Tuple> scores = new FastList<Tuple>();
for (Object other : dict.keySet()) {
if (!other.equals(person)) {
Tuple t = new Tuple(other, this.getDistance(dict, other, person));
//System.out.println(t);
scores.add(t);
}
}
Collections.sort(scores, new Comparator<Tuple>() {