Tree can now be placed in file using pickle.
Signed-off-by: Pier-Luc Plante <pier-luc.plante.1@ulaval.ca>