How To Get Digits Of A Number In Java