Memorize fibonacci method