Updated recursive descent functionnality with an array representation and documentation.