The game of life in vue.js