simple and old fibonacci implementations for algorithm analysis