snake length increases when eating apple