You can move your code out of order, it does not need to be in the correct order for it to execute correctly. You need to focus on making relationships.
I chose to have only four classes instead of the original five due to the range of my data and that many of the values are very close to each other, so less classes made sense for this dataset