fixed the fillGrid function to properly place food in correct positions