A simple implementation of conway's game of life using html5 canvas and typescript