@Override
        public void keyReleased(KeyEvent e) {
            if (e.getKeyCode() == KeyEvent.VK_W) {
                moving[0][0] = false;
            } else if (e.getKeyCode() == KeyEvent.VK_S) {
                moving[0][1] = false;
            }
            if (e.getKeyCode() == KeyEvent.VK_UP) {
                moving[1][0] = false;
            } else if (e.getKeyCode() == KeyEvent.VK_DOWN) {
                moving[1][1] = false;
            }
        }