Assorted abuse of TypeScript's type system. Game of Life N-Queens (TypeScripting the technical interview)