Adding method to print spiral