Apple escaping

Added new methods which provides escape alghrythm for apple, when the snake getting closer to apple.