Chiral four dimensional field theory from superstring and higher dimensional super Yang-Mills theory