fixes #31 allows to run the game in the newest xcode beta

Right but instead of using nil let's use the enum .None as it represents nil and if Apple decides to change nil value to something else we don't have to go through the code again.