Added methods: regeneration() & setDirection() in Class "Snake"