Solving the eight queens problem with genetic programming