Changed Number Function to make assignment 3