3D Snake

Dear Guys ,
i have a project to make a 3D snake game using OPENGL… i was just wondering if anyone can help me and tell me how to start …
help me draw the snake and move it and detect collision between snake and object etc … and how manage the length of the snake if it hits a wall or something … thnks in advance .

Best Regards,