Instructure interview question

Write a simple compression algorithm