Synthesis of oligomers/polymers from plant oil derivatives