Placed pseudocode for rle algorithm.