Simple Code for Data Structure Exercises