Mobile Numeric Keypad Leetcode Problems Javascript Snake Game