Implemented drawSpiral