Create gamefunctions.py

File containing various game related functions for main.py