code: function simplyfy(val){
  
    switch(val[0]){
      case 'z': // shorthand line to start
      case 'Z':
        val[0] = 'L'
        val[1] = this.start[0]
        val[2] = this.start[1]
        break
      case 'H': // shorthand horizontal line
        val[0] = 'L'
        val[2] = this.pos[1]
        break
      case 'V': // shorthand vertical line
        val[0] = 'L'
        val[2] = val[1]
        val[1] = this.pos[0]
        break
      case 'T': // shorthand quadratic beziere
        val[0] = 'Q'
        val[3] = val[1]
        val[4] = val[2]
        val[1] = this.reflection[1]
        val[2] = this.reflection[0]
        break
      case 'S': // shorthand cubic beziere
        val[0] = 'C'
        val[6] = val[4]
        val[5] = val[3]
        val[4] = val[2]
        val[3] = val[1]
        val[2] = this.reflection[1]
        val[1] = this.reflection[0]
        break
    }
  
    return val
  
  }
docs: converts shorthand types to long form