https://medium.com/@talhaawan78654321/efficient-ways-to-find-max-value-in-a-c-array-best-practices-code-examples-846f253ef9bd