Implemented observer pattern, now the basic functionality of minesweeper is complete