Simple Implementation of RLE Algorithm under Matlab