Modeling of a Mobile Robot using hierarchical modeling techniques