A Monte Carlo Simulation of the Formation of Micelles in a Ternary System of Water, Oil and Amphiphilic Polymers