print out 1 to 100 based on requirements given
modulate, make it more flexible