2048-related algs