Typescript Add To Front Of Array In Python