Add file tipos.c with examples