add a test for rle_string, and implement printing functions