Mrs. Jones had some white paint and some green paint, and a bunch of wooden cubes. Her class decided to paint the cubes by making each face either solid white or green. How many cubes could be painted in this fashion, so that each cube is different from the others? Two cubes are alike if one can be rotated to match the other.