A thought of compression algorithm while bored in class:)