My attempt at 2048 with Java