code for ulamn spiral