Game Of Life by TypeScript