Deleting extra pointers in main in RLE Encoding

There were some un-needed pointers in RLEencoding.cpp that I deleted (we only need the buffer to be passed as a parameter)