fibonacci function

fibonacci function implemented by channel