Dumb snake code for a school hardware project.