An introduction to LOTOS: learning by examples