Created module of snake