Typescript Nested Class Python Init Array Python Tutorial W3schools