Completed ll function. Works perfectly. Now, trying to minimize using Simplex