Python Create Array And Linked Implementation