Moved the synchronization to a different method

changed where the synchronization happens in the Cell class.

Now only the setAlive and getAlive methods are synchronized.

(Previously applyNextStep() was synchronized).