Added implementation for Fibonacci encode 1