How to find the largest of two numbers using a function and also