Algrothim and Data strcut exercise