Create Printstar decreasing

This file will printstars as :
S1S1S10
S1S10
S10
0