added rust-like Enum Match demo to 'example.rs', and fixed more cases