Added Run length encoder