Implementation of an evolutionary algorithm via Flow-Based-Programming