datastructure for my exercise