support If then else operation
added equals method that works
added support for binary input format