Changed the Element struct to use Node pointers instead of numbers. Continued work on selecting elements.