fixed the problem

star generator works now, just needs input