Client : add a limit of depth in QuadTree

Signed-off-by: Jean-François Erdelyi <jean-francois.erdelyi@etu.iut-tlse3.fr>
client: fix a bug in the creation of children

Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>