Remove block of inserting first row, replace with do ... while

This is just much nicer, C allows do while