Added Magic Gem and Exit block code. Magic gem works. Need to finish level exit code and tweak the game loop structure to make it work nicely.