Criadas as classes Entrada, Regra e Saida