Worked out some kinks in the overall program. Restarts correctly. However, you have to hit a button before it says you win or lost. Also problem with mines in that they always appear in the same place