added different directions to snake head