[PD] first exercise with data structures