Cómo implementar funciones en Solidity