Write a script that prints the first to third powers for all numbers from 1 to 5. Separate the prints for the same base number with a tab, and print each set of powers on a new line. Use only for-loops.
Output
1 1 1
2 4 8
3 9 27
4 16 64
5 25 125