adding code for deleting previous grid before creating new game