String compression

Added two string compression methods. Unfinished.