1. Divided code into separate functions.
2. Implemented Roulette-wheel selection and quicksort.
3. Normalisaton completeed.
4. Need to test.