Translated solucao.cpp, updated grafo.cpp

solucao.cpp is a subclass of grafo.cpp, then some attributes of
grafo.cpp can be accessed by solucao.cpp.