implemented minesweeper, works for practice input, segfualts for large input, need fixing