Created a function for checking

I created a function that will check the age of the user and to see if
they are old enough to play the game or not