GUI : Error solved. For now 5x5 board with 10 bombs is generated.