init console snake solution