added parent link, made tree mutable
count winning leafs for each board state