Added star pyramid function