working on two functions

FindTreasure() and Factorial()