printing star pattern problems