A bug lives on a corner of a cube and is only allowed to travel on the edges of the cube. In how many ways can the bug visiteach of the other seven corners once, and only once, returning to its home corner only at the end of the trip?