Função de cálculo do grau de cada nó.
Merge branch 'matheus' of https://github.com/suehtamacv/redes-opticas-elasticas-ufcg into matheus