Solution of the square spiral at various levels of complexity