https://medium.com/@kelvinnseth/if-statement-while-for-loop-understanding-when-to-use-control-flow-dc0bef7d7cc5