Code tested

Code tested and printing to the console correctly based on numbers
provided for 3 vars.