Rafael's first error was dividing the circle into six equal arcs. A square inscribed in a circle should have its vertices at every 90 degrees on the circle, not every 60 degrees.
A square is constructed by first dividing the circle into four equal arcs of 90 degrees each.