basic structures from Algorithms and Data Structures class