move method to Fixnum class and take input from user