fourth algorithm implemented
working implementation in go of the clever algorithms genetic algorithm