solved the base case
Increased Int size to handle big numbers