Implementation of single snake moving and drawing.