modified startup and initialized some variables
added coordinate split function and started on apple generator
Completed GenerateApple function: generates random coord and tests for validity and then updates the grid
minor changes