Modify game engine

Call ShuffleMatrix() in InitializeMatrix() instead of in PlayGame.
Remove useless 'while'