Added collectionUtil class and solved fractional knapsack