Data Structures first exercise