Initial implementation of package mtf - a move-to-front transform.