Updated game difficulty so that the grid starts off as 3x3, and increases with the difficulty level to a maximum size of 5x5.