added implementation for fibonacci encoding zero