updating snake skeleton code