added RLENCODE and RLDECODE