created 2d array and block classes. implemented time intervals for update method