moved vars into class
Merge branch 'master' of https://github.com/tshr/game_of_life