Find ways to stack four cubes