poj1979. Standard DFS.