Implementation of the 2048 Game