sub1
sub1 : (number -> number)
purpose: to compute a number one smaller than a given number