Added a function named rleEncode... don't remember why though