Wrote code for nextHighestNumber function, and added code to main to test new function.