def dist(a, b):
    return sum((i-j)**2 for i, j in zip(a, b))
def _init_liststore(self):
        """Creates the liststore"""
        self.liststore = Gtk.ListStore(object, GdkPixbuf.Pixbuf, str, str)
        self.set_model(self.liststore)