Adding docstrings for dragon_curve