Reinforcement Learning applied to the Snake Game