Basic Game Code In Python For Snakes