Wrote mutate function in the Tree class file though it should be moved
to the problems if we're gonna have our project work like the previous
genetic algorithm. Documentation is commented above the function.