moved snake food collision check to main.py