INF7845 - Add method add_inner and add_outer

add_inner to add child element and add_outer to add parent element