Using Grammatical Evolution to Design Curves with a Given Fractal Dimension