Added reset to snake init function