I am doing a small test program by extracting data out of a notepad which consists of results or performance data of students throughout their duration at a particular institute, for example. After obtaining the data, I will use that data to display a graph. Nevermind the graph, i mainly need ideas on how i could implement some data structures.

I just want to try out how a binary search tree could work, or how i could implement stacks and queues.

Can anybody give me suggestions as to how I can implement these concepts?