Game of Life (Matlab) OOP