Python Implementation Of Data Structures In R