Made some slight coding adjustments as it was adding numerical user input as strings. Parseint corrected this