added output code to print numbers 1 to 100