Funcionando ate o exercicio 3