Well, you've got the outline for the program already. You need in general two things for a computer program: (1) some storage; (2) some processing. What kind of each do you think you'll need? Have you done a dry run on paper to see how in detail you might do it?