new game function commit

Added working new game function