some more modificaitons ot et basic smiles parsing
start literal translation of the Beam parsing program