writeOBJ function

Read and write Wavefront OBJ format files