cleaning the code for proyecto2.java and adding a functions for extract nodes from matriz