Application Of Temporal Difference Learning To The Game Of Snake