Python: calculates the square root of a number using an evolutionary algorithm.