Implemented lst_push and lst_foreach for paths and rooms