2D Random Walk generation implemented in python, visualization in R