iOS Implementation of 2048