Added Buffer class

This class will hold information about the file and its content.
Edited main

Using Buffer class to hold file contents