An ant starts at a given vertex of a cube. On each of its moves, it crawls along an edge to get to another vertex. After 7 moves, the ant has visited 7 different vertexes. The ant then discovers that it can't directly crawl to its starting position in a move. How many different paths could the ant have taken?
Source: AMC 10