Python 3 Code For Snake Game