A simple recursive function that allows to give more information about an object than 'type' binded function