Function for drawing arrows

Since I am not a python expert, the function is currently only available for c++