Changed the way the logic gate was setting its root. It was crashing the program. This now creates graphical and logical gates. In addition, it already draws lines.
However, thee is still missing the logical implementation of the connection of two gates. MyPanel is now the one storing the lists of labels instead of MyLabel. Everytime we created a new Label, a new list
of labels was being created, so we couldnt draw lines between existing labels.