Project in Data struct (problem 1-21)