added fibo and hash functions