https://cscprogrammingtutorials.com/table-of-squares-and-cubes-in-c/