added ternary if operator

Also added install instructions to README, and made a minor change to the
lexer/parser.