I have been looking on stack and spend several hours browsing to try and solve this. Task is:
Create a function to calculate the classes. The function takes as arguments