I want to calculate a given gini coefficient - thats why I have this function
Please keep in mind that im new to python... so dont be too harsh with me