First attempt at Genetics Programming (in Swift)