Removed Integer#pred, renamed variable

- No need of additional logic as #pred for comparison with 2, used integer
itself for comparison with 1 instead.

- Renamed variable with better name