renamed hashedadjacencylist class to KBGenerator