Update GameOfLife.scala

added settings for Swing to work on MacOS (setOpaque)