Experimenting with implementing compression algorithms