Added partially finished snake, refactoring