main reads an expression from stdin and runs it