Recursive parser. Training project