Join up lines to form a square