Changed Dog.cpp's generateId and split readDogsFromFile into Tree and Hash versions