optimize snake, change graphics