Implementing some of the assignment 2 stuff
Adding the BufferData class