fixed syntax error on ternary operator in the `is_up?` methods in bgp and ospf classes.
Correct ternary syntax in bgp and ospf libs.  Created new rib lib and added example for accessing the get_route method.