Bug fixes & new syntax adding

1.fixed a typo in UnaryFactory.
2.add assignment declarity list
3.add a demo sample
4.renamed the type "float" as "real"