Fixed logic bug in 2048